﻿using FreeSql.DataAnnotations;
using RS.BaseModel.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseAuthRole.DTO.Role
{
    public  class Role: BaseEntity
    {

        public string Name { get; set; }
        public string Description { get; set; }
        /// <summary>
        /// 是否是系统默认的
        /// </summary>
        public int IsSystem { get; set; }
       
        public List<Action> Actions { get; set; }

        public Role()
        {

            IsSystem = 0;

        }
    }
}
